
// Boost Includes ==============================================================
#include <boost/python.hpp>
#include <boost/cstdint.hpp>

// Includes ====================================================================
#include <OpenSG/OSGPassiveWindow.h>
#include <OpenSG/OSGPassiveWindowBase.h>
#include <OsgPtrHelpers.h>

// Using =======================================================================
using namespace boost::python;

// Declarations ================================================================
namespace  {

BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(osg_PassiveWindow_dump_overloads_0_2, dump, 0, 2)


}// namespace 


// Module ======================================================================
void Export_src_pyste_gen_PassiveWindow()
{
    class_< osg::PassiveWindowBase, bases< osg::Window > , boost::noncopyable >("PassiveWindowBase", no_init)
//        .def_readonly("MTInfluenceMask", &osg::PassiveWindowBase::MTInfluenceMask)
        .def("getClassType", &osg::PassiveWindowBase::getClassType, return_internal_reference< 1 >())
        .def("getClassTypeId", &osg::PassiveWindowBase::getClassTypeId)
        .def("getType", (osg::FieldContainerType& (osg::PassiveWindowBase::*)() )&osg::PassiveWindowBase::getType, return_internal_reference< 1 >())
        .def("getType", (const osg::FieldContainerType& (osg::PassiveWindowBase::*)() const)&osg::PassiveWindowBase::getType, return_internal_reference< 1 >())
        .def("getContainerSize", &osg::PassiveWindowBase::getContainerSize)
        .def("getBinSize", &osg::PassiveWindowBase::getBinSize)
        .def("copyToBin", &osg::PassiveWindowBase::copyToBin)
        .def("copyFromBin", &osg::PassiveWindowBase::copyFromBin)
        .def("create", &osg::PassiveWindowBase::create)
        .def("createEmpty", &osg::PassiveWindowBase::createEmpty)
        .def("shallowCopy", &osg::PassiveWindowBase::shallowCopy)
        .staticmethod("getClassType")
        .staticmethod("create")
        .staticmethod("createEmpty")
        .staticmethod("getClassTypeId")
    ;

    class_< osg::PassiveWindow, bases< osg::PassiveWindowBase > , boost::noncopyable, osg::PassiveWindowRefPtr >("PassiveWindow", no_init)
        .def("changed", &osg::PassiveWindow::changed)
        .def("dump", &osg::PassiveWindow::dump, osg_PassiveWindow_dump_overloads_0_2())
        .def("init", &osg::PassiveWindow::init)
        .def("activate", &osg::PassiveWindow::activate)
        .def("deactivate", &osg::PassiveWindow::deactivate)
        .def("swap", &osg::PassiveWindow::swap)
    ;


    register_ptr_to_python<osg::PassiveWindowPtr>();
    implicitly_convertible<osg::PassiveWindowRefPtr, osg::PassiveWindowPtr>();
    implicitly_convertible<osg::PassiveWindowPtr, osg::WindowPtr>();
    
    def("RefPtr", &pyopensg::ToRefPtr<osg::PassiveWindowPtr>);
    def("FCPtr", &pyopensg::ToFcPtr<osg::PassiveWindowPtr>);
}

